package com.cloud.music.dto.netease;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserUpdate {

    /**
     * 性别 0:保密 1:男性 2:女性
     */
    @NotNull(message = "性别不能为空")
    private String gender;

    /**
     * 生日,时间戳 unix timestamp
     */
    @NotNull(message = "出生日期不能为空")
    private String birthday;

    /**
     * 昵称
     */
    @NotNull(message = "昵称不能为空")
    private String nickname;

    /**
     * 省份id
     */
    @NotNull(message = "省份id不能为空")
    private String province;

    /**
     * 城市id
     */
    @NotNull(message = "城市id不能为空")
    private String city;

    /**
     * 签名
     */
    @NotNull(message = "用户签名不能为空")
    private String signature;
}
